﻿namespace KingerRobot.MexicoSailunWMS.SpiService;
internal interface IProdSkuProduct
{
    /// <summary>
    /// 创建产品物料关联
    /// </summary>
    /// <param name="skuId"></param>
    /// <param name="productId">产品ID</param>
    /// <param name="materialId">物料ID</param>
    /// <returns>产品物料关联</returns>
    POProdSkuProduct CreateProdSkuProduct(long skuId, long productId, long materialId, DateTime? mdTime);

    /// <summary>
    /// 删除
    /// </summary>
    /// <param name="skuId"></param>
    /// <returns></returns>
    POProdSkuProduct DeleteProdSkuProduct(long? skuId);

    /// <summary>
    /// 通过 skuId 获取信息
    /// </summary>
    /// <param name="skuId"></param>
    /// <returns></returns>
    POProdSkuProduct GetProdSkuProductBySkuId(long? skuId);
}
